﻿<pages:PageBase x:Class="PeoplesJukebox.Web.Pages.ConfirmTrackSelection"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:pages="clr-namespace:PeoplesJukebox.Web.Pages">
    <Grid x:Name="LayoutRoot">
        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Opacity="0.65" Fill="DimGray"/>
        <Border CornerRadius="20" Background="LightGray" Height="250" Width="450">
            <StackPanel VerticalAlignment="Center">
                <StackPanel x:Name="panelConfirm"  Orientation="Vertical">
                    <Button x:Name="btnYes" Click="btnYes_Click" Height="100" Width="400" Margin="5" Style="{StaticResource LargeTextButton}">
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                            <Image Source="/Images/Yes.png" Height="48" Width="48" Margin="10"></Image>
                            <TextBlock x:Name="txtYes" Text="Add my track" VerticalAlignment="Center" FontSize="14" FontFamily="Verdana"></TextBlock>
                        </StackPanel>
                    </Button>
                    <Button x:Name="btnNo" Click="btnNo_Click" Height="100" Width="400" Margin="5" Style="{StaticResource LargeTextButton}">
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                            <Image Source="/Images/No.png" Height="48" Width="48" Margin="10"></Image>
                            <TextBlock Text="I've changed my mind" VerticalAlignment="Center" FontSize="14" FontFamily="Verdana"></TextBlock>
                        </StackPanel>
                    </Button>
                </StackPanel>
                <StackPanel x:Name="panelComplete" Orientation="Vertical" Visibility="Collapsed" HorizontalAlignment="Center">
                    <TextBlock x:Name="txtComplete" Text="Adding track to queue..." Style="{StaticResource NowPlayingValue}" Margin="10"/>
                    <ProgressBar x:Name="progressBar" IsIndeterminate="True" Width="200" Height="50"/>
                </StackPanel>
            </StackPanel>
        </Border>
    </Grid>
</pages:PageBase>
